package com.tuo51.observation.service;

import com.tuo51.core.domain.staffs.Staff;
import com.tuo51.foudation.query.EvaluateQuery;
import com.tuo51.observation.domain.ObservatePoint;
import com.tuo51.observation.domain.ObservateRecord;
import org.springframework.data.domain.Page;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface ObservationService {
    List<ObservatePoint> getObservatePointsByMonth(float month);
    List<ObservatePoint> getObservatePointsByChildrenId(String staffId, String childrenId);

    ObservateRecord getTodayFinishedRecords(String staffId, String childrenId);

    ObservateRecord getRecordById(String recordId);

    Page<ObservateRecord> getRecords(String staffId, EvaluateQuery pagerQuery);

    Boolean addObservationRecord(Staff staff, String childrenId, List<Map> result);

    String observationUpload(Integer mediaType, MultipartFile[] files);
}
